
/* 字体声明 */
@font-face {
    font-family: 'icomoon';
    src:url('../fonts/icomoon.eot?tomleg');
    src:url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?tomleg') format('truetype'),
      url('../fonts/icomoon.woff?tomleg') format('woff'),
      url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }

  body {
      height: 1500px;
  }

.w {
    width: 1200px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

a:hover {
    color: #c81823;
}

.style_red {
    color: #c81823;
}

/* 快捷导航 */
.shortcut {
    height: 31px;
    line-height: 31px;
    background-color: #f1f1f1;
}

.shortcut ul li {
    float: left;
    cursor: pointer;
}

.shortcut .fr ul li:nth-child(2n) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px;
    cursor: default;
}
.shortcut ul li:hover {
    color: #e60012;
}
.sanjiao::after {
    content: "\e91e";
    font-family: 'icomoon';
    margin-left: 5px;
}

/* 头部 */
.header {
    position: relative;
    height: 105px;
}
.logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}
.logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /* 让文字隐藏 */
    /* 京东做法 */
    /* font-size: 0; */
    /* 淘宝做法 */
    text-indent: -9999px;
    overflow: hidden;
}

.seatch {
    position: absolute;
    left: 346px;
    top: 25px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.seatch input {
    float: left;
    width: 454px;
    height: 32px;
    text-indent: 1em;
}
.seatch button {
    float: left;
    height: 32px;
    width: 80px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
}
.hods {
    position: absolute;
    left: 346px;
    top: 70px;
}
.hods a {
    margin: 0 10px;
}

/* 购物车模块 */
.shopcar {
    position: absolute;
    top: 25px;
    right: 60px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
    cursor: pointer;
}
.shopcar:hover {
    color: #e60012;
}

.shopcar::before {
    content: "\e905";
    font-family: 'icomoon';
    margin-right: 5px;
    color: #b1191a;
}

.shopcar::after {
    content: "\e920";
    font-family: 'icomoon';

}
.shopcar i {
    position: absolute;
    top: -5px;
    /* right: 20px; */
    /* 这里设置left让文字往右走 */
    left: 100px;
    height: 14px;
    line-height: 14px;
    color: #fff;
    background-color: #e60012;
    padding: 0 5px;
    border-radius: 7px 7px 7px 0;
}

/* nav 模块制作 */
 .nav {
    height: 47px;
     border-bottom: 2px solid #b1191a;
 }
 .nav .dropdown {
     float: left;
     width: 210px;
     height: 45px;
     background-color: #b1191a;
 }
 .nav .navitems {
     float: left;
 }
 .dropdown .dt {
     width: 100%;
     height: 100%;
     color: #fff;
     font-size: 16px;
     text-align: center;
     line-height: 45px;
     margin-bottom: 2px;
 }
 .dropdown .dd {
     width: 210px;
     height: 465px;
     background-color: #c81623;
 }
 .dropdown .dd ul li {
    position: relative;
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
 }
 .dropdown .dd ul li:hover {
     background-color: #fff;
     color: #c81623;
 }
 .dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
 }
 .dropdown .dd ul li:hover a{
     color: #c81623;
 }
 .dropdown .dd ul li a:hover {
     text-decoration: underline;
 }

 .dropdown .dd ul li::after {
    position: absolute;
    content: "\e920";
    font-family: 'icomoon';
    right: 6px;
    top: 2px;
 }

 .navitems ul li {
     float: left;
 }

 .navitems ul li a {
     display: block;
     height: 45px;
     line-height: 45px;
     padding: 0 25px;
     font-size: 16px;
 }
 .navitems ul li:first-child a {
     padding-left: 50px;
 }

 /* 底部模块 */
 .footer {
     height: 415px;
     background-color: #f5f5f5;
     padding-top: 30px;
 }
 .mod_s {
     height: 80px;
     border-bottom: 1px solid #ccc;
 }
 .mod_s ul li {
     float: left;
     width: 240px;
     height: 50px;
     padding: 0 15px;
 }
 .mod_s ul li h5 {
     float: left;
     width: 50px;
     height: 50px;
     background: url(../images/icons.png) no-repeat -252PX -2px;
     margin-right: 10px;
 }
 .mod_s ul li:nth-child(2) h5 {
     background-position: -254px -53px;
 }
 .mod_s ul li:nth-child(3) h5 {
     background-position: -256px -105px;
 }
 .mod_s ul li:nth-child(4) h5 {
    background-position: -257px -157px;
}
.mod_s ul li:last-child h5 {
    background-position: -256px -208px;
}
 .sty_text {
     padding-top: 5px;
 }
 .sty_text h4 {
     font-size: 14px;
 }
 .sty_text span {
     font-size: 12px;
 }

.mod_h {
    height: 185px;
    border-bottom: 1px solid #ccc;
    padding: 20PX 0 0 50px;
}
.mod_h dl {
    float: left;
    width: 200px;
}
.mod_h dl:last-child {
    width: 90px;
    text-align: center;
} 
.mod_h dl dt {
    font-size: 14px;
    margin-bottom: 6px;
}

.mod_h dl dd {
    font-size: 12px;
}
.mod_c {
    text-align: center;
    margin-top: 20px;
}
.mod_c div:first-child a {
    margin: 0 5px;
}
.mod_c div:last-child {
    margin-top: 5px;
    line-height: 20px;
}